package com.anolesoft.twelvePlan.entity;

import com.anolesoft.twelvePlan.listener.LocalDateTimeDeSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 等同项实体类
 * @author zyq
 * @LocalDateTime 2022/3/17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mes_equal_catalog")
public class MesEqualCatalogDO implements Serializable {
    private static final long serialVersionUID = 7125964665399865205L;
    @TableId
    //private String objuid;	//主键
    //private String jx;	//机型
    //private String partId;	//图号
    //private String flag;	//标记
    //private String deleteFlag;	//删除标记 0：未删除 1：已删除
    //private String createUid;	//创建人
    //private String createTime;	//创建时间
    //private String modifyUid;	//修改人
    //private String modifyTime;	//修改时间
    //private String deleteUid;	//删除人
    //private String deleteTime;	//删除时间
    //private String factoryId;	//厂代号
    private String objuid;
    private String jx;
    private String partid;
    private String flag;
    private Integer deleteflag;
    private String createuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createtime;
    private String modifyuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime modifytime;
    private String deleteuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime deletetime;
    private String factoryId;
}
